home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Source Code / Visual Basic Source Code.iso / vbsource / db2db / db2db.txt < prev    next >
Text File  |  1992-02-15  |  3KB  |  84 lines

  1. dB2dB 1.00                                    2/15/92
  2.  
  3.  
  4.  
  5. What is dB2dB?
  6.  
  7.  
  8.  
  9. dB2dB is a utility program written in Visual Basic that allows
  10. for quick and easy transformations of database record
  11. information from one database to another.  Any field in one
  12.  
  13. database can be linked to another field in a second database for
  14. the purposes of data transfer.
  15.  
  16.  
  17.  
  18. How do you use dB2dB?
  19.  
  20.  
  21.  
  22. Select your source database using the dB1 button.  A file box
  23. will appear that shows only files with a .dbf extension.  Select
  24. a database file and click on OK.  A window will appear with
  25. information on the selected database.  Repeat for your target
  26. database using the dB2 button.  A window will again appear with
  27. information on the selected database.  Full paths to the
  28. selected databases appear above each dB button.  These fields
  29. are not editable.
  30.  
  31.  
  32.  
  33. Click on the list box for dB1 of the field where you have source
  34. information you wish to transfer to dB2.  Directly below the box
  35. information about the selected field will appear.  This
  36. information tells you the type of field and the length of the
  37. field.  Types of fields are C for character, N for numeric, D
  38. for date, M for memo, L for logical,.  dB2dB will only convert
  39. like fields.  If the source field is a date field, the target
  40. field must be a date field.  Also because of the varying memo
  41. field types, dB2dB will not link to or from any memo field.  Any
  42. attempt to do so will cause a box to be displayed notifying you
  43. that linking of memo fields is not allowed.  Click on the list
  44. box for dB2 of the field you wish to link with the selected
  45. field of dB1.  Click on the Link button and a link will appear
  46. in the Link list box.  Continue selecting fields in dB1 to be
  47. linked with fields in dB2.  If you change your mind about a
  48. link, delink by clicking on the link information in the Link
  49. list and click on Remove Link.  This will remove your link. 
  50.  
  51.  
  52.  
  53. After all links have been selected, click on GO.  A window will
  54. appear asking if you wish to erase the target database first if
  55. it contains any previous records.  Clicking on yes erases all
  56. previous records, clicking on no adds information to the target
  57. database.  If you click on yes to erase the previous information
  58. it is gone forever.  Please be sure this is what you really want
  59. to do!  A second window will appear informing you that the
  60. erased data will be lost forever and confirmation that this is
  61. really what you want to do.
  62.  
  63.  
  64.  
  65. The cursor will change to an hourglass as the information is
  66. transferred between the databases.  The amount of time this
  67. takes will depend upon the CPU speed, hard disk speed, and the
  68. size of the databases.  However, it is quite fast and on slow
  69. CPU's with small (under 1000 records) databases should take less
  70. than 2 minutes.  On fast CPU's with small (under 1000 records)
  71. databases it should take less than 10 seconds.  On a 486-33 with
  72. 16mS hard drives transferring 610 records with 57 fields took 6
  73. seconds.
  74.  
  75.  
  76.  
  77. This program is placed in the public domain.  The author makes
  78. no guarantees as to the appropriateness towards your application
  79. and assumes no liability for any problems or loss of data that
  80. occurs.  Other than that, I hope you find this program useful. 
  81. If you have any questions my CIS ID is 76405,416, and AOL ID is
  82. BillT121.
  83.  
  84.